﻿<Window x:Class="Coolzon.UI.ViewerApp.SplashWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SplashWindow" Height="350" Width="650" WindowStartupLocation="CenterScreen" WindowStyle="None" Background="Transparent" AllowsTransparency="True" >
    <Grid MouseLeftButtonDown="Grid_MouseLeftButtonDown_1">
        <!--<Grid>
            <Canvas Width="200" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
                <Rectangle Fill="Red" Width="40" Height="20" Canvas.Left="0"/>
                <Rectangle Fill="Yellow" Width="40" Height="20" Canvas.Left="40"/>
                <Rectangle Fill="Blue" Width="40" Height="20" Canvas.Left="80"/>
                <Rectangle Fill="Gainsboro" Width="40" Height="20" Canvas.Left="120"/>
                <Rectangle Fill="Green" Width="40" Height="20" Canvas.Left="160"/>
                <Canvas.RenderTransform>
                    <TransformGroup>
                        <TranslateTransform X="90" Y="0"/>
                        <ScaleTransform CenterX="20" CenterY="0" ScaleX="2" ScaleY="1"/>
                    </TransformGroup>
                </Canvas.RenderTransform>
            </Canvas>
        </Grid>-->
        <Grid Margin="70,20,0,0">
            <Grid.Background>
                <ImageBrush ImageSource="Images/splash-screen.png" Stretch="Fill"/>
            </Grid.Background>
        </Grid>
        <Canvas>
            <TextBlock x:Name="tbMessage" Text="检测更新中……" Canvas.Left="0" Canvas.Bottom="110" FontSize="20" Foreground="#FF5F5603" FontWeight="Bold" Width="650" TextAlignment="Center" Canvas.Top="147"></TextBlock>
            <TextBlock Text="中国石油规划总院 提供技术支持" Canvas.Left="30" Canvas.Bottom="20" FontSize="18" Foreground="White" Visibility="Hidden"></TextBlock>
            <TextBlock x:Name="_versionInfo"  Text="V1.0.0.0" Canvas.Right="30" Canvas.Bottom="50" FontSize="18" Foreground="#FFFFFCE3" Canvas.Left="492" Canvas.Top="231"/>
        </Canvas>
    </Grid>
</Window>